package com.jsonal.service.impl;

import com.jsonal.entity.manager.UserManagerBean;
import com.jsonal.mapper.manager.ManagerUserMapper;
import com.jsonal.service.ManagerUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: jingji.lin
 * @Description:
 * @Date: 2020/4/13 16:08
 * @Version: 1.0
 */
@Service
public class ManagerUserServiceImpl implements ManagerUserService {

    @Autowired
    ManagerUserMapper managerUserMapper;

    @Override
    public UserManagerBean getUserByName(String username) {

        return managerUserMapper.selectUserByUserName(username);
    }
}
